import { lazy } from "react";

const RouterList = [
  //   一级
  {
    path: "/home",
    element: lazy(() => import("../pages/home/index")),
    tokens:true,
    // 二级 
    children: [
      {
        path: "/home/index",
        element: lazy(() => import("../pages/index/index")),
        tokens:true,
      },
    ],
  },
  {
    path: "*",
    element: lazy(() => import("../pages/404/index")),
     tokens:true,
  },
];
export default RouterList;
